package com.sm.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2022-06-07
 */
@TableName("t_score")
public class Score implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("stuId")
    private Integer stuId;

    @TableField("cId")
    private Integer cId;

    private Integer score;

    /**
     * 学期
     */
    private String xq;

    /**
     * 等级，优良中差
     */
    private String level;

    @TableField(exist = false)
    private String stuNo;
    @TableField(exist = false)
    private String stuName;
    @TableField(exist = false)
    private String cName;

    public String getStuName(){
        return stuName;
    }

    public void setStuName(String stuName){
        this.stuName = stuName;
    }

    public String getStuNo(){
        return stuNo;
    }

    public void setStuNo(String stuNo){
        this.stuNo = stuNo;
    }

    public String getcName(){
        return cName;
    }

    public void setcName(String cName){
        this.cName = cName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getXq() {
        return xq;
    }

    public void setXq(String xq) {
        this.xq = xq;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "Score{" +
        "id=" + id +
        ", stuId=" + stuId +
        ", cId=" + cId +
        ", score=" + score +
        ", xq=" + xq +
        ", level=" + level +
        "}";
    }
}
